#include "bsp_rf433.h"

static void rf_parsed_data (uint8_t *data) {
    rt_kprintf("rf: %x %x %x\r\n", data[0], data[1], data[2]);
}


int app_rf_init (void) {
    bsp_rf433_init();
    bsp_rf433_register_handler (rf_parsed_data);
    
    return 0;
}
INIT_BOARD_EXPORT(app_rf_init);
